package legumes.client.ui.admin.stall.delivery;

import legumes.client.resources.PNResources;

import com.smartgwt.client.widgets.Window;
import com.smartgwt.client.widgets.events.CloseClickHandler;
import com.smartgwt.client.widgets.events.CloseClientEvent;

public class DeliveryConfigWindow extends Window {

	public DeliveryConfigWindow(){
		setWidth(480);
		setHeight(200);
		String titleWindow = "Configuration des lieux de livraison";
		setTitle("<img src=\""
				+ PNResources.INSTANCE.deliveryIcon().getURL()
				+ "\" />&nbsp;" + titleWindow);
	
		setShowCloseButton(true);
		setShowMinimizeButton(false);
		setCanDrag(true);
		setCanDragReposition(true);
		setIsModal(true);
		setShowModalMask(true);  
		setAutoCenter(true);
		addCloseClickHandler(new CloseClickHandler() {  
	        public void onCloseClick(CloseClientEvent event) {  
	            destroy();  
	        }  
	    });  
		buildPanel();
		show();
	}

	private void buildPanel() {
		// TODO Auto-generated method stub
		
	}
	
	
}
